#ifndef _TUYA_COM_DP_ID_INFO_H_
#define _TUYA_COM_DP_ID_INFO_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "InComConf.h"

/*** Basic function settings page of APP ***/

/* Status indicator, BOOL type, true means open, false means closed */
#define TUYA_DP_LIGHT                           101

/* Flip state, BOOL type, true means reverse, false means normal */
#define TUYA_DP_FLIP                            103

/* Watermark, BOOL type, true menas open, false means closed*/
#define TUYA_DP_WATERMARK                       104

/* Sleep, BOOL type, true means sleep, false means wake*/
#define TUYA_DP_SLEEP_MODE                      105

/* Motion detection alarm sensitivity, ENUM type, 0 is low sensitivity, 1 is medium sensitivity, 2 is high sensitivity*/
#define TUYA_DP_ALARM_SENSITIVITY               106

/* Infrared night vision, ENUM type, 0-auto 1-turn 2-open*/
#define TUYA_DP_NIGHT_MODE                      108

/* Motion detection alarm switch, BOOL type, true means open, false mens closed */
#define TUYA_DP_ALARM_FUNCTION                  134

#define TUYA_DP_SOUND_ALARM                     141

#if CMAKE_SUPPORT_SD_RECORD
/* APP储存卡设置页面 */
/* SD card capacity, STR type,
 * "Total capacity|Current usage|Remaining capacity", unit: kb */
#define TUYA_DP_SD_STORAGE_ONLY_GET             109
/*SD card status, VALUE type, 1-normal,
 * 2-anomaly, 3-insufficient space, 4-formatting, 5-no SD card */
#define TUYA_DP_SD_STATUS_ONLY_GET              110
/* Format sd card, BOOL type */
#define TUYA_DP_SD_FORMAT                       111
/* Exit SD card, BOOL type, true means it has been exited, false means it has not exited */
#define TUYA_DP_SD_UMOUNT                       112
/* Format sd card status, VALUE type, -2000: SD card is being formatted,
 * -2001: SD card formatting is abnormal, -2002: No SD card,
 * -2003: SD card error. Positive number is formatting progress */
#define TUYA_DP_SD_FORMAT_STATUS_ONLY_GET       117
/* SD card recording switch, BOOL type, true means open, false means closed */
#define TUYA_DP_SD_RECORD_ENABLE                150
/* SD card recording mode, ENUM type, 0-event recording 1-continuous recording*/
#define TUYA_DP_SD_RECORD_MODE                  151
#endif /* end of CMAKE_SUPPORT_SD_RECORD */

#if (CMAKE_SUPPORT_STEP_MOTOR || CMAKE_SUPPORT_STEEP_ENGINE)
/* Camera control page of APP */
/* PTZ rotation control, ENUM type, 0-up, 1-right upper, 2-right,
 * 3-right down, 4-down, 5--lower left, 6-left, 7-left upper
 * but 0-upper right, 1-right, 2-lower right, 3-down, 4-left down,
 * 5-left, 6-up left, 7-up in 4.0 SDK*/
#define TUYA_DP_PTZ_CONTROL                     119
#endif

#define TUYA_DP_IPC_CONTRAST                    192
#define TUYA_DP_IPC_BRIGHT                      193

#ifdef __cplusplus
}
#endif

#endif
